import Api from '../util/request';

export const getPortalList = () => {
  return Api.creatRequests('/api/news/portals');
};

export const getPortalNews = (portal) => {
  return Api.creatRequests('/api/news' + portal);
};
